package com.hyper_yang._03_designpatterns.principles.demo1;

/**
 * projectName: com.hyper_yang._03_designpatterns.principles.demo1
 *
 * @author: sakiko
 * time: 2025/9/26 0:09
 * description: 模拟搜狗输入 【聚合】 抽象皮肤类
 */
public class SouGouInput {
    private AbstractSkin skin;

    public void setSkin(AbstractSkin skin) {
        this.skin = skin;
    }

    public void display() {
//        System.out.println("SouGouInput.display");
        skin.display();
    }
}
